<div style="width: 300px;">
	<m-ui-select itme-list="info.treeTypes" selected-item="info.treeType" select-item-fun="treeTypeClick()"></m-ui-select>
</div>
<br>
<div class="col-lg-3 col-md-4 col-sm-6">
    <div class="panel b-a">
		<button class="btn btn-default btn-sm ng-scope" ng-show="info.selectInfo!=null" ng-click="edit('add',info.selectInfo)" title="添加" style="">
		    <i class="fa fa-plus" aria-hidden="true"></i> 
		</button>
		<button class="btn btn-default btn-sm ng-scope" ng-show="info.selectInfo!=null && info.selectInfo.parentId!=-1" ng-click="edit('edit',info.selectInfo)" title="修改" style="">
                <i class="fa fa-pencil-square-o" aria-hidden="true"></i> 
        </button>
		<button class="btn btn-default btn-sm ng-scope" ng-show="info.selectInfo!=null && info.selectInfo.parentId!=-1" ng-click="delete(info.selectInfo)"  title="删除">
		    <i class="fa fa-minus" aria-hidden="true"></i> 
		</button>
		<span  ng-if='doing_async'>...loading...</span>
		<abn-tree 
		    tree-data         = 'info.tree'
		    tree-control	  = 'my_tree'
		    on-select         = 'select(branch)' 
		    expand-level      = '2'
		    icon-leaf         = 'fa fa-file-o'
		    icon-expand       = 'fa fa-plus'
		    icon-collapse     = 'fa fa-minus'
		>
		</abn-tree>
	</div>
</div>
<script type="text/ng-template" id="editProductLine.html">
<div>
	<div class="modal-header">
    </div>
	    <div class="col-sm-22 modal-body">
		    <form class="form-horizontal">
		        <div class="form-group">
		            <label class="col-sm-2 control-label" for="projectPlan-projectPlanName">名称<span style="color: red;">*</span>：</label>
		            <div class="col-sm-10">
		                <input id="projectPlan-projectPlanName" type="text" class="form-control form-input-title" ng-model="info.productLine.name" placeholder="请输入名称">
		            </div>
		        </div>
		    </form>
		</div>
		<div class="modal-footer">
		    <button type="button" class="btn btn-primary" ng-click="save()">创建</button>
		    <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="cancel()">取消</button>
		</div>
	</div>
</script>
